package o;

import android.content.res.ColorStateList;
import android.view.View;
import java.lang.ref.WeakReference;

public class py extends SkinAttr {

    static final class b extends fkz<SkinAttr, ColorStateList> {
        private WeakReference<View> ˏ;

        public /* synthetic */ void ॱ(Object obj) {
            ˋ((ColorStateList) obj);
        }

        private b(View view) {
            this.ˏ = new WeakReference(view);
        }

        public void ˋ(ColorStateList colorStateList) {
            View view = (View) this.ˏ.get();
            if (view != null) {
                gcr.ˋ(view, colorStateList);
            }
        }
    }

    public py() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (!(view instanceof View)) {
            return;
        }
        if ("color_state_list".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
            this.ʽ = "color_state_list";
            fks.ˎ(view.getContext(), this, new b(view)).ॱ(z);
        }
    }
}
